import Vuex from 'vuex';
import Vue from 'vue';

import actions from './actions';
import mutations from './mutations';
import getters from './getters';


Vue.use(Vuex)

const store = new Vuex.Store({
    state: {
        isShow: true,
        tip: false,
        searchRec: false,
        itemList: [],
        mockList: []
    },
    getters: getters.getter,
    mutations: mutations.mutation,
    actions: actions.action
})

export default store